<link rel="stylesheet" href="../core/resource/weui/weui.css?v=12">
<style>
</style>
<div class='fui-page-group' ng-if="pagedata.op == 'main'">
<div class='fui-page  fui-page-current'>
    <div class="fui-header">
		<div class="fui-header-left" ng-click="goback()">
            <a class="back"></a>
        </div>
		<div class="title">会员中心</div>
		<div class="fui-header-right"></div>
	</div>
	<div class='fui-content member-page'>
		<div class="fui-list-group merchgroup" style="margin-top:0">
			<div class="fui-list jump">
                <a class="fui-list-media">
                    <img class="round" src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/nopic.jpg'}}" />
                </a>
                <div class="fui-list-inner">
                    <div class="title">{{pagedata.item.nickname || '匿名用户'}}</div>
					<div class="title" style="font-size:0.65rem">余额：{{pagedata.item.credit2 || '0.00'}} <a style="margin-left:1rem;color:#f60" href="javascript:;" ng-click="access_json('core/member.recharge/')">充值</a></div>
                </div>
                <a class="jump" href="javascript:;" ng-click="access_json('core/member.set/')">
					<i class="icon jinyunicon icon-set" style="width: 2rem; text-align: center;"></i>
				</a>
            </div>
		</div>
		<div class="fui-cell-group fui-cell-click mod-group">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_qiuyuyue/server_order/')">
								<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
								<div class="fui-cell-text">我的预定</div>
								<div class="fui-cell-remark">查看全部预定</div>
							</a>
							<div class="fui-icon-group col-5 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_qiuyuyue/server_order//status=0')">
									<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.serverstatus0}}</div>
									<div class="icon icon-green radius"><i class="icon icon-daifukuan1"></i></div>
									<div class="text">待付款</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click "access_json('jy_qiuyuyue/server_order//status=1')">
									<div class="badge" ng-if="pagedata.statics.status1>0">{{pagedata.statics.serverstatus1}}</div>
									<div class="icon icon-orange radius"><i class="icon icon-yuyue"></i></div>
									<div class="text">已付款</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_qiuyuyue/server_order//status=2')">
									<div class="badge" ng-if="pagedata.statics.status2>0">{{pagedata.statics.serverstatus2}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-xinxi"></i></div>
									<div class="text">待使用</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_qiuyuyue/server_order//status=3')">
									<div class="badge" ng-if="pagedata.statics.status3>0">{{pagedata.statics.serverstatus3}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-wentifankui"></i></div>
									<div class="text">已取消</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_qiuyuyue/server_order//status=4')">
									<div class="badge" ng-if="pagedata.statics.status4>0">{{pagedata.statics.serverstatus4}}</div>
									<div class="icon icon-pink radius"><i class="icon icon-yuding"></i></div>
									<div class="text">已完成</div>
								</a>
							</div>
		</div>
		<div ng-if="pagedata.setting.no_order!=1" class="fui-cell-group fui-cell-click mod-group">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_weishop/order.list/')">
								<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
								<div class="fui-cell-text">商城订单</div>
								<div class="fui-cell-remark">查看全部订单</div>
							</a>
							<div class="fui-icon-group col-5 selecter">
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=0')">
									<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
									<div class="icon icon-green radius"><i class="icon icon-daifukuan1"></i></div>
									<div class="text">待付款</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=1')">
									<div class="badge" ng-if="pagedata.statics.status1>0">{{pagedata.statics.status1}}</div>
									<div class="icon icon-orange radius"><i class="icon icon-daifahuo"></i></div>
									<div class="text">待发货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=2')">
									<div class="badge" ng-if="pagedata.statics.status2>0">{{pagedata.statics.status2}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-daishouhuo1"></i></div>
									<div class="text">待收货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=3')">
									<div class="badge" ng-if="pagedata.statics.status3>0">{{pagedata.statics.status3}}</div>
									<div class="icon icon-blue radius"><i class="icon icon-survey1"></i></div>
									<div class="text">待评价</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_weishop/order.list//status=5')">
									<div class="badge" ng-if="pagedata.statics.status4>0">{{pagedata.statics.status4}}</div>
									<div class="icon icon-pink radius"><i class="icon icon-tuihuanhuo1"></i></div>
									<div class="text">退换货</div>
								</a>
							</div>
		</div>
		<div ng-if="pagedata.staff.id || pagedata.peisong.id" class="weui_cells_title" style="background-color: #fff;"><i class="icon jinyunicon icon-dianpu" style="font-size:0.76rem"></i>商家预定</div>
		<div ng-if="pagedata.staff.id || pagedata.peisong.id" class="fui-icon-group noborder col-2" style="background-color: #fff;">
						<div ng-if="pagedata.staff.id" class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_qiuyuyue/manage.index/')">
							<div class="badge"></div>
							<div class="icon icon-green radius"><i class="icon jinyunicon icon-caifua"></i></div>
							<div class="text">店员入口</div>
						</div>
						<div ng-if="pagedata.peisong.id" class="fui-icon-col external"  href="javascript:;" ng-click="access_json('jy_qiuyuyue/peisong/')">
							<div class="badge"></div>
							<div class="icon icon-green radius"><i class="icon jinyunicon icon-waimai"></i></div>
							<div class="text">配送员入口</div>
						</div>
		</div>
		<div class="fui-cell-group fui-cell-click mod-group">
								<a ng-if="pagedata.setting.no_logs!=1" class="fui-cell" href="javascript:;">
											<div class="fui-cell-icon"><i class="icon icon-jifen"></i></div>
											<div class="fui-cell-text">
												我的记录
												</div>
											<div class="fui-cell-remark" href="javascript:;" ng-click="access_json('core/member.credit_log/')"></div>
								</a>
								<div ng-if="pagedata.setting.no_logs!=1" class="fui-icon-group col-4 selecter">
											<a ng-repeat="item in pagedata.setting.my_logs" class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json(item.action)">
												<div class="icon icon-green radius"><i class="icon {{item.icon}}"></i></div>
												<div class="text">{{item.title}}</div>
											</a>
								</div>
								<a ng-if="pagedata.setting.no_others!=1" ng-repeat="item in pagedata.setting.my_memberbtn" class="fui-cell" href="javascript:;" ng-click="access_json(item.action)">
												<div class="fui-cell-icon"><i class="icon {{item.icon}}"></i></div>
												<div class="fui-cell-text"><p>{{item.title}}</p></div>
												<div class="fui-cell-remark"></div>
								</a>
		</div>
		<div ng-if="pagedata.setting.no_days!=1" class="weui_cells weui_cells_access" style="margin-top:0.2rem">
            <a ng-repeat="item in pagedata.setting.my_days" class="weui_cell" href="javascript:;" ng-click="access_json(item.action)">
                <div class="weui_cell_hd"><i class="icon {{item.icon}}" style="font-size:0.9rem"></i></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <span>{{item.title}}</span>
                </div>
                <div class="weui_cell_ft"></div>
            </a>
        </div>
	</div>
</div>
</div>
<div ng-if="pagedata.op == 'set'">
<div class="fui-header">
		<div class="fui-header-left" onclick="window.history.go(-1);">
            <a class="back"></a>
        </div>
		<div class="title">个人设置</div>
		<div class="fui-header-right"></div>
</div>
<div class="fui-list-group merchgroup" ng-click="access_json('jy_qiuyuyue/myhome/set')" style="margin-top:58px">
				<div class="fui-list jump">
					<a class="fui-list-media" ng-if="pagedata.item.logo">
						<img class="round" src="{{tomedia(pagedata.item.logo) || '../core/resource/images/nopic.jpg'}}" />
					</a>
					<a class="fui-list-media weui_uploader_input_wrp" ng-if="!pagedata.item.logo" >
						<input class="weui_uploader_input" ng-click="up_file(pagedata.item,'logo','image')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple="">
					</a>
					<a class="fui-list-inner">
						<div class="title">微信二维码</div>
					</a>
					<a class="jump" href="javascript:;" ng-click="up_file(pagedata.item,'logo','image')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple="">
						<i class="icon jinyunicon icon-qrcode" style="width: 2rem; text-align: center;"></i>
					</a>
				</div>
</div>
<div class="weui_cells weui_cells_form">
			  <div class="weui_cell weui_vcode">
                <div class="weui_cell_hd"><label class="weui_label">姓名</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" ng-model="pagedata.item.name" placeholder="请输入您的真实姓名">
                </div>
            </div>
            <div class="weui_cell weui_vcode">
                <div class="weui_cell_hd"><label class="weui_label">手机</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" ng-model="pagedata.item.mobile" placeholder="请输入您的手机号码">
                </div>
            </div>
</div>
<div class="weui_btn_area">
		 <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="post(pagedata.item,'set')">提交</a>
</div>
</div>
<div ng-include="sys_html('_footer')"></div>